﻿namespace SmartCity.ProcessEngine.Api.Write.Dtos
{
    public class CreateNodeCfgDto
    {/// <summary>
     /// 表单Id
     /// </summary>
        public long FormId { get; set; }
        /// <summary>
        /// 当前节点Id
        /// </summary>
        public long CurrentNodeId { get; set; }
        /// <summary>
        /// 上一节点
        /// </summary>
        public long? PrevNode { get; set; }

        /// <summary>
        /// 下一节点
        /// </summary>
        public long? NextNode { get; set; }
        /// <summary>
        /// 操作人id
        /// </summary>

        public long? AccountId { get; set; }


        #region 冗余的操作人账号信息,如果不是因为微服务分成多个数据库,存一个账号id,就可以关联多表查询,取到数据
        /// <summary>
        /// 操作人姓名
        /// </summary>
        public string AccountName { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string? RealName { get; set; }
        /// 部门名称
        /// </summary>
        public string? DepartmentName { get; set; }

        public string? RoleName { get; set; }
        #endregion
    }
}
